package org.scau.studentevaluation.entity;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class Table implements Comparable<Table> {
    long number;
    String name;
    String college;
    //学生信息

    float sum;
    float de;
    float zhi;
    float ti;

    @Override
    public int compareTo(Table o) {
        if (this.getSum() > o.getSum()) {
            return 1;
        }
        else {
            return 0;
        }
    }
}
